package lx;

public class Activities {
    public int activities_id,activities_approval_1,activities_approval_2;
    public String activities_name,activities_place,activities_time,activities_report,activities_mes;
    public String student_id;
    public String material_url;

    public String getMaterial_url() {
        return material_url;
    }

    public void setMaterial_url(String material_url) {
        this.material_url = material_url;
    }

    public String getStudent_id() {
        return student_id;
    }

    public void setStudent_id(String student_id) {
        this.student_id = student_id;
    }

    public int getActivities_id() {
        return activities_id;
    }

    public void setActivities_id(int activities_id) {
        this.activities_id = activities_id;
    }

    public int getActivities_approval_1() {
        return activities_approval_1;
    }

    public void setActivities_approval_1(int activities_approval_1) {
        this.activities_approval_1 = activities_approval_1;
    }

    public int getActivities_approval_2() {
        return activities_approval_2;
    }

    public void setActivities_approval_2(int activities_approval_2) {
        this.activities_approval_2 = activities_approval_2;
    }

    public String getActivities_name() {
        return activities_name;
    }

    public void setActivities_name(String activities_name) {
        this.activities_name = activities_name;
    }

    public String getActivities_place() {
        return activities_place;
    }

    public void setActivities_place(String activities_place) {
        this.activities_place = activities_place;
    }

    public String getActivities_time() {
        return activities_time;
    }

    public void setActivities_time(String activities_time) {
        this.activities_time = activities_time;
    }

    public String getActivities_report() {
        return activities_report;
    }

    public void setActivities_report(String activities_report) {
        this.activities_report = activities_report;
    }

    public String getActivities_mes() {
        return activities_mes;
    }

    public void setActivities_mes(String activities_mes) {
        this.activities_mes = activities_mes;
    }

    public String getStr(int i){
        if(i==1)    return "通过";
        else if(i==2)   return "未审核";
        else    return "未通过";
    }

    @Override
    public String toString() {
        return  "学术活动id：" + activities_id +
                ", 导师审核情况：" + getStr(activities_approval_1) +
                ", 学科负责人审核情况：" + getStr(activities_approval_2) +
                ", 学术活动名称：" + activities_name +
                ", 学术活动地点：" + activities_place +
                ", 学术活动时间：" + activities_time +
                ", 学术活动报告：" + activities_report +
                ", 备注：" + activities_mes +
                ", 学生ID：" + student_id +
                ", 证明材料图片的本地路径：" + material_url ;
    }
}
